﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="info_keywords_detail.aspx.cs"
    Inherits="admin_allergy_info_keywords_detail" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>医生信息 </title>
    <link href="../css/default.css" rel="stylesheet" type="text/css" />

    <script src="../js/jUtility.js" type="text/javascript"></script>

    <script type="text/javascript" src="../common/calendar.js"></script>

    <script type="text/javascript" src="../../fckeditor/fckeditor.js"></script>

    <script type="text/javascript">
        window.onload = function() {
            if (document.getElementById("content")) {
                var fck = new FCKeditor('content');
                fck.BasePath = "../../fckeditor/";

                fck.Width = "90%";
                fck.Height = "400px"
                fck.ReplaceTextarea();
            }

        }
    </script>

</head>
<body>
    <table width="100%" height="500" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
            <td height="414" align="left" valign="top" class="rightbg">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="2" bgcolor="#A49B81">
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" background="../images/position_bg.gif" bgcolor="#EEF6FE" class="subnav"
                                        style="background-repeat: repeat-y; background-position: left; padding-left: 6px;
                                        padding-top: 3px;">
                                        <asp:Label ID="headers" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td height="1" bgcolor="#B0C9E8">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="16">
                        </td>
                    </tr>
                    <tr>
                        <td height="16">
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" style="padding-left: 10px;">
                            <form id="form1" method="post" runat="server" enctype="multipart/form-data">
                            <asp:HiddenField ID="id" runat="server" />
                            <table width="95%" height="728" border="1" align="center" cellpadding="0" cellspacing="0"
                                bordercolorlight="#2583BC" bordercolordark="#ffffff">
                                <tr>
                                    <td width="100%" height="641" valign="top">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <th align="left" width="80%">
                                                    关键字管理
                                                </th>
                                                <th align="left">
                                                    <a href="info_keywords.aspx?layerid=1,179,216&columnid=216">返回 </a>
                                                </th>
                                            </tr>
                                        </table>
                                        <br>
                                        <table width="100%" border="0">
                                            <tr>
                                                <td width="13%" align="right">
                                                    <font color="#FF0000">* </font>关键字：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="keyword" runat="server" MaxLength="100" size="50" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="13%" align="right">
                                                    搜索次数：
                                                </td>
                                                <td width="2%">
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="num" runat="server" Text="1" MaxLength="50" size="50" />
                                                </td>
                                            </tr>
                                        </table>
                                        <table width="100%" border="0">
                                            <tr>
                                                <td align="right" width="13%">
                                                    是否推荐：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:RadioButtonList runat="server" ID="recommend" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                        <asp:ListItem Text="否" Value="0" Selected="True" />
                                                        <asp:ListItem Text="是" Value="1" />
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    是否发布：
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    <asp:RadioButtonList runat="server" ID="status" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                        <asp:ListItem Text="否" Value="0" Selected="True" />
                                                        <asp:ListItem Text="是" Value="1" />
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                </td>
                                                <tr>
                                                    <td height="54" colspan="3" align="center">
                                                        <asp:Button Text="保存" ID="sub" OnClientClick="return subfunc(0)" runat="server" OnClick="Sub_click" />
                                                    </td>
                                                </tr>
                                            </tr>
                                        </table>
                            </table>
                            </form>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <script type="text/javascript">

        var o;

        function subfunc(flag) {
            if (!isFilled(form1.keyword)) {
                return warning('keyword', '关键字不能为空!');
            }


            form1.state.value = flag;

            return true;
        }
        function warning(FieldName, WarningString) {
            alert(WarningString);
            eval("form1." + FieldName + ".focus();");
            return (false);
        }
        function stag() {

            return true;
        }

        function upfunc() {

            if (form1.upload1.value == null || form1.upload1.value == "") {
                alert("请选择上传文件！");
                return false;
            }
            return true;

        }

    </script>

</body>
</html>
